package com.singfan.app.controller.model.response;

/**
 * Response协议中的请求结果代码
 */
public class ResultCode {
	/**
	 * 成功
	 */
	public static final int SUCCESS = 0;
	/**
	 * 服务器维护
	 */
	public static final int SERVER_MAINTAIN = 1;
	/**
	 * 服务器繁忙
	 */
	public static final int SERVER_BUSY = 2;
	/**
	 * 验证码不正确
	 */
	public static final int SECURITY_CODE_ERROR = 3;
	/**
	 * 身份验证失败
	 */
	public static final int ACCESS_TOKEN_ERROR = 4;
	/**
	 * 身份过期
	 */
	public static final int ACCESS_TOKEN_EXPIRED = 5;
	/**
	 * 请求参数不正确
	 */
	public static final int REQUEST_PARAM_ERROR = 6;
	/**
	 * 账号也被禁用
	 */
	public static final int ACCOUNT_DISABLED = 7;
	/**
	 * 用户名已存在
	 */
	public static final int USER_NAME_EXIST = 10000;
	/**
	 * 预定的时间冲突
	 */
	public static final int USER_APPOINTMENT_CONFLICT = 10001;
	/**
	 * 用户身份不正确（仅限于苹果审核账号）
	 */
	public static final int USER_APPLE_TOKEN_ERROR = 10002;
	/**
	 * 用户密码不正确（仅限于苹果审核账号）
	 */
	public static final int USER_PWD_ERROR = 10003;
	/**
	 * 手机号已存在
	 */
	public static final int BARBER_PHONE_EXIST = 10100;
	/**
	 * 技师不存在
	 */
	public static final int BARBER_NOT_EXIST = 10101;
	/**
	 * 密码不正确
	 */
	public static final int BARBER_PWD_ERROR = 10102;
	/**
	 * 技师信息正在审批
	 */
	public static final int BARBER_CHECKING = 10103;
	/**
	 * 门店不存在
	 */
	public static final int SHOP_NOT_EXIST = 10200;
	/**
	 * 密码不正确
	 */
	public static final int SHOP_PWD_ERROR = 10201;
}